﻿using Microsoft.Extensions.Configuration;
using MiniFox.Configurations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DingTalk.Corp.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    [Section(ELEMENT_NAME)]
    public class DingTalkCorpSecurityConfiguration
    {

        internal const string ELEMENT_NAME = "minifox:dingtalk:corp.security";
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("corpId")]
        public string CorpID
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("default")]
        public string Default
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("agents")]
        public DingTalkAgentSettingCollection Agents
        {
            get;
            set;
        }
    }
}
